
The files in this replication archive reproduce the tables and figures for

Hill, Seth J., Daniel J. Hopkins, and Gregory A. Huber. 2021. "Not by Turnout Alone: Measuring the Sources of Electoral Change, 2012 to 2016." Science Advances.

To recreate the tables and figures, first execute the script "01_AnalyzePooledPrecinctData.do" using the statistical program Stata. Next, execute the scripts "02_Plots.R" and "03_ridge_plots.R" using the statistical program R.
